package org.jeecg.modules.travel.user.entity;

import java.io.Serializable;

// import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: Travel car
 * @Author: Travel
 * @Date:	2023-03-12 
 * @Version:V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="微信用户", description="微信用户信息")
@TableName("travel_wechat_user")
public class TravelWechatUser  implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键*/
    @TableId(type = IdType.AUTO)
	private java.lang.Long id;

	/** 系统用户 */
	@ApiModelProperty(value = "系统用户",example = "")
	@Excel(name="系统用户",width=15)
	private java.lang.String sysUid;


	/** 微信授权参数 不写入数据库 */
	@TableField(exist = false)
	private java.lang.String code;

	/** 是否教师 */
	@ApiModelProperty(value = "是否教师",example = "")
	@Excel(name="是否教师",width=15)
	private java.lang.Integer teacher;

	/** openId */
	@ApiModelProperty(value = "openId",example = "")
	@Excel(name="openId",width=15)
	private java.lang.String openId;

	/** 姓名 */
	@Excel(name="姓名",width=25)
	@ApiModelProperty(value = "姓名",example = "")
	private java.lang.String name;

	/** 手机 */
	@Excel(name="手机",width=25)
	@ApiModelProperty(value = "手机",example = "")
	private java.lang.String phone;

	/** 昵称 */
	@Excel(name="昵称",width=25)
	@ApiModelProperty(value = "昵称",example = "")
	private java.lang.String nickName;

	/** 头像 */
	@Excel(name="头像",width=25)
	@ApiModelProperty(value = "头像",example = "")
	private java.lang.String avatarUrl;

	/** 性别 */
	@Excel(name="性别",width=25)
	@ApiModelProperty(value = "性别",example = "")
	private java.lang.Integer gender;

	/** 首次登录时间 */
	@ApiModelProperty(value = "首次登录时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name="首次登录时间",width=20,format="yyyy-MM-dd HH:mm:ss")
	private java.util.Date firstLoginTime;

	/** 最后一次登录时间 */
	@ApiModelProperty(value = "最后一次登录时间")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name="最后一次登录时间",width=20,format="yyyy-MM-dd HH:mm:ss")
	private java.util.Date lastLoginTime;


}
